<?

  if (file_exists($ROOT.".htaccess.free")) 												$SMARTY->assign("status_closed", "status_red.gif");
	else 																		 												$SMARTY->assign("status_closed", "status_green.gif"); 

	if 			(file_exists($ROOT."/".$FOLDER."/.flags/debug.max.flag")) 				$SMARTY->assign("status_error", "status_red.gif");
	else if (file_exists($ROOT."/".$FOLDER."/.flags/debug.localhost.flag"))		$SMARTY->assign("status_error", "status_grey.gif");
	else                                                                  		$SMARTY->assign("status_error", "status_green.gif");

	if (file_exists($ROOT."/".$FOLDER."/.flags/register.stop.flag")) 		$SMARTY->assign("status_register", "status_red.gif"); 
	else 																																$SMARTY->assign("status_register", "status_green.gif"); 


?>